<?php
/*
* @Created by Phpstorm
* @User: Zhangxinlei
* @Date: 
* @Time:
*/

namespace app\common\model;


use think\Model;
use think\model\concern\SoftDelete;

class AdminRole extends Model
{
    use SoftDelete;
    public function permissions()
    {
        return $this->belongsToMany('AdminPermission','admin_role_permission','permission_id','role_id');
    }
}